package com.bdqn.ch06.SZ;

/**
 * SpeakTalk   对话内容
 *
 * @aurhor Administrator  whs
 * @since 2024/7/13
 */
public class SpeakTalk {

    // 诸葛亮
    private String zhu  ;
    // 路飞
    private String lu ;


//    public SpeakTalk(String lu) {
//        this.lu = lu;
//    }
//

    public String getZhu() {
        return zhu;
    }

    public void setZhu(String zhu) {
        this.zhu = zhu;
    }
    public String getLu() {
        return lu;
    }
    public void setLu(String lu) {
        this.lu = lu;
    }

    public SpeakTalk(String zhu, String lu){
        this.zhu = zhu;
        this.lu = lu;
    }


    /**
     * 打印方法
     */
    public void print(){
        System.out.println(lu);
        System.out.println(zhu);
    }


}
